from os import sep
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import math

data_names = ["n1", "n2"]
sim_data = pd.read_csv("/tmp/sim_data.txt",
                       sep=" ",
                       header=None,
                       names=data_names)

# estimates curve
y_est = sim_data["n1"] * sim_data["n1"] * \
    0.0033232 + sim_data["n1"] * 0.214684 + 4.51084

plt.plot(sim_data["n1"], sim_data["n2"], '*')
plt.plot(sim_data["n1"], y_est, '.')
plt.show()
